package edu.xidian.bdilab.jrbigdata.controller.enterprise;

import edu.xidian.bdilab.jrbigdata.controller.response.ResponseResult;
import io.swagger.annotations.Api;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import edu.xidian.bdilab.jrbigdata.service.enterprise.finacial_productdetail.finacial_productdetailService;
@CrossOrigin
@RestController
@Api(tags = {"finacial_productdetailController-查看金融产品详情功能"})
public class ProductDetailController {
    @Autowired
    public finacial_productdetailService finacial_productdetailService ;

    @RequestMapping(value = "enterprise/finacial_productdetai/{productName}", method = RequestMethod.POST)

    public ResponseResult finacial_productdetail (@PathVariable("productName") String productName )
    {
          ResponseResult responseResult=finacial_productdetailService.finacial_productdetail(productName);
          return responseResult;
    }
}
